package com.sixth.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * inventory
 * @author
 **/
@Data
public class Inventory implements Serializable {
    /**
     * 盘点编号
     */
    private Integer invenid;

    /**
     * 盘点时间
     */
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private Date inventime;

    /**
     * 盘点员id
     */
    private Integer invenstaffid;

    /**
     * 审核时间
     */
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private Date examtime;

    /**
     * 审核员id
     */
    private Integer examstaffid;

    /**
     * 所属分店
     */
    private Integer branchid;

    /**
     * 驳回描述
     */
    private String remarks;

    /**
     * 审核状态
     */
    private Integer state;

    private Integer staffid;

    private  Staff staff;
    //盘点员
    private Staff invenstaff;
    //审核员
    private Staff examstaff;
    //店面
    private Branch branch;

    private InventoryGoods inventoryGoods;
    private static final long serialVersionUID = 1L;

    public Integer getInvenid() {
        return invenid;
    }

    public void setInvenid(Integer invenid) {
        this.invenid = invenid;
    }
}